<?php

namespace App\Models\Teacher;

use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;

class Teacher extends Model implements Transformable
{
    use TransformableTrait;

    public $incrementing = false;

    protected $table="teacher";

    protected $fillable = [
        'id',
        'id_card',
        'photo',
        'old_name',
        'nation',
        'birth_date',
        'start_work_date',
        'hometown',
        'graduate_date',
        'graduate_school',
        'graduate_major',
        'graduate_school_system',
        'graduate_degree',
        'acquire_office_date',
        'politics_status',
        'join_politics_org_date',
        'family_connect_user_name',
        'family_connect_user_relation',
        'family_connect_user_mobile',
        'family_connect_address',
        'family_connect_user_company',
        'family_connect_user_job',
        'created_user',
        'updated_user',
    ];

}
